package com.stylefeng.guns.core.constant;

/**
 * @Description App返回信息CODE统一管理
 */
public enum AppCodeEnum {
	SUCCESS(0,"成功"),
	ERROR(1,"错误"),
	PASSWORD_ERROR(2,"账号或密码错误"),
	LOGIN_TIMEOUT(3,"登录超时重新登录");
	AppCodeEnum(int code, String message) {
		this.code = code;
		this.message = message;
	}


	private int code;

	private String message;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
